package cc.mrbird.febs.log.service;

import cc.mrbird.febs.log.dao.LogMapper;
import cc.mrbird.febs.log.domain.LogBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class LogService {
    @Autowired
    private LogMapper logMapper;

    public List<LogBean> listUv(String time) {
        return logMapper.listUv(time);
    }

    public List<LogBean> listPv(String time) {
        return logMapper.listPv(time);
    }

    public List<LogBean> listIp(String time) {
        return logMapper.listIp(time);
    }

    public Map<String, Object> countLog(String time) {
        return logMapper.countLog(time);
    }
}
